/* 
   SMARTSPHERE (سمارتسفير) - Premium Smart Home Web Interface
   Brand-aligned styling with Custom Animations, Glassmorphic Dashboard, and RTL/LTR Logical Properties.
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   1. Design System & Variables
   ========================================== */
:root {
    /* Color System */
    --primary-blue: #190EBF;
    --primary-blue-glow: rgba(25, 14, 191, 0.6);
    --secondary-blue: #00A3FF;
    --secondary-blue-glow: rgba(0, 163, 255, 0.4);
    
    --bg-dark: #07080e;
    --bg-card-dark: rgba(15, 22, 38, 0.6);
    --bg-card-glass: rgba(255, 255, 255, 0.03);
    
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --text-slate: #6A7C93;
    
    --border-color: rgba(25, 14, 191, 0.15);
    --border-glow: rgba(0, 163, 255, 0.25);
    
    /* Gradients */
    --blue-gradient: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    --dark-gradient: radial-gradient(circle at top, #101524 0%, #07080e 100%);
    --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    /* Layout */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;
    --font-family: var(--font-ar); /* Default to Cairo */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --shadow-glow: 0 0 25px var(--primary-blue-glow);
    --shadow-glow-cyan: 0 0 25px var(--secondary-blue-glow);
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
}

/* Base resets & behavior */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    background-image: var(--dark-gradient);
    color: var(--text-white);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

/* RTL / LTR Language Specifics */
[dir="rtl"] {
    --font-family: var(--font-ar);
}

[dir="ltr"] {
    --font-family: var(--font-en);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
}

/* ==========================================
   2. Typography & Globals
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button, input, textarea, select {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* Glowing Badges & Buttons */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(25, 14, 191, 0.1);
    border: 1px solid rgba(25, 14, 191, 0.3);
    border-radius: 50px;
    color: var(--secondary-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 163, 255, 0.2);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--blue-gradient);
    color: var(--text-white);
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(25, 14, 191, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-cyan);
}

/* Glass Card styles */
.glass-card {
    background: var(--bg-card-dark);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 10px 30px rgba(25, 14, 191, 0.15);
    transform: translateY(-5px);
}

/* ==========================================
   3. Header & Navigation
   ========================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 8, 14, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(7, 8, 14, 0.9);
    border-bottom: 1px solid rgba(25, 14, 191, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-svg {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--primary-blue-glow));
    transition: var(--transition-smooth);
}

.logo-link:hover .brand-logo-svg {
    transform: rotate(5deg) scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-item a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    color: var(--text-muted);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-gradient);
    transition: var(--transition-smooth);
}

.nav-item a:hover {
    color: var(--text-white);
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Toggle Button */
.lang-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-toggle:hover {
    background: var(--primary-blue);
    border-color: var(--secondary-blue);
    box-shadow: 0 0 15px rgba(25, 14, 191, 0.4);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition-fast);
}

/* ==========================================
   4. Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(25, 14, 191, 0.2) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--text-white);
}

.hero-title span {
    background: linear-gradient(to right, #ffffff 30%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Beautiful Hero Mockup Container */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), var(--shadow-glow);
    aspect-ratio: 1;
    width: 100%;
    max-width: 500px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hero-frame:hover .hero-image {
    transform: scale(1.03);
}

.hero-glow-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: rgba(15, 22, 38, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glow);
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), var(--shadow-glow-cyan);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    max-width: 280px;
    animation: float 4s ease-in-out infinite alternate;
}

[dir="rtl"] .hero-glow-card {
    left: auto;
    right: -30px;
}

.hero-glow-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 163, 255, 0.1);
    border: 1px solid rgba(0, 163, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-blue);
    font-size: 1.5rem;
}

.hero-glow-text h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.hero-glow-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================
   5. Interactive Smart Hub Demo
   ========================================== */
.demo-section {
    position: relative;
    background: rgba(10, 12, 22, 0.4);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Smart Hub Interface Grid */
.hub-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: stretch;
}

.hub-controls-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.control-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 20px;
    transition: var(--transition-fast);
}

.control-group:hover {
    border-color: rgba(25, 14, 191, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.control-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.control-title i {
    color: var(--secondary-blue);
    font-size: 1.25rem;
}

/* Custom Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

[dir="rtl"] .slider:before {
    left: auto;
    right: 3px;
}

input:checked + .slider {
    background-color: var(--primary-blue);
    border-color: var(--secondary-blue);
    box-shadow: 0 0 10px var(--primary-blue-glow);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

[dir="rtl"] input:checked + .slider:before {
    transform: translateX(-24px);
}

/* Light Color Sliders & Temperature Gauges */
.light-color-selector {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.color-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.color-dot.active {
    border-color: #ffffff;
    transform: scale(1.15);
    box-shadow: 0 0 10px currentColor;
}

.color-warm { background-color: #ffaa44; color: #ffaa44; }
.color-cool { background-color: #44ddff; color: #44ddff; }
.color-neon { background-color: #190EBF; color: #190EBF; }
.color-sunset { background-color: #ff44aa; color: #ff44aa; }

.temp-gauge-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.range-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary-blue);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.6);
    transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.temp-display {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-blue);
    min-width: 60px;
    text-align: end;
}

/* Smart Hub Screen Viewer */
.hub-viewer-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hub-screen-ambient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(25, 14, 191, 0.08) 0%, transparent 70%);
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 0;
}

/* Dynamic screen lighting overlays */
.hub-screen-ambient.warm-glow {
    background: radial-gradient(circle at center, rgba(255, 170, 68, 0.12) 0%, transparent 70%);
}
.hub-screen-ambient.cool-glow {
    background: radial-gradient(circle at center, rgba(68, 221, 255, 0.12) 0%, transparent 70%);
}
.hub-screen-ambient.neon-glow {
    background: radial-gradient(circle at center, rgba(25, 14, 191, 0.15) 0%, transparent 70%);
}
.hub-screen-ambient.sunset-glow {
    background: radial-gradient(circle at center, rgba(255, 68, 170, 0.12) 0%, transparent 70%);
}

.viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.system-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.hub-living-room-svg {
    width: 100%;
    max-width: 420px;
    margin: 40px auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

.hub-living-room-svg path, 
.hub-living-room-svg rect, 
.hub-living-room-svg circle {
    transition: var(--transition-smooth);
}

/* Vacuum Simulator animation */
.robot-vacuum-element {
    transition: transform 3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.vacuum-active .robot-vacuum-element {
    animation: vacuumSweep 8s ease-in-out infinite alternate;
}

@keyframes vacuumSweep {
    0% { transform: translate(0, 0); }
    25% { transform: translate(25px, -5px); }
    50% { transform: translate(-30px, 10px); }
    75% { transform: translate(15px, -15px); }
    100% { transform: translate(-5px, 5px); }
}

.viewer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.room-temp-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.room-temp-val {
    font-size: 1.8rem;
    font-weight: 800;
}

/* ==========================================
   6. Product Catalog
   ========================================== */
.catalog-section {
    position: relative;
}

.catalog-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.catalog-visual {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.catalog-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.catalog-visual:hover img {
    transform: scale(1.02);
}

.catalog-overlay-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(7, 8, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-glow);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-blue);
    box-shadow: var(--shadow-glow-cyan);
}

[dir="rtl"] .catalog-overlay-tag {
    right: auto;
    left: 24px;
}

.catalog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.product-item:hover {
    background: rgba(25, 14, 191, 0.04);
    border-color: rgba(25, 14, 191, 0.3);
    transform: translateX(8px);
}

[dir="rtl"] .product-item:hover {
    transform: translateX(-8px);
}

.product-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: var(--border-radius-md);
    background: rgba(25, 14, 191, 0.1);
    border: 1px solid rgba(25, 14, 191, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-blue);
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.product-item:hover .product-icon {
    background: var(--blue-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.product-details h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--text-white);
}

.product-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================
   7. Brand Integrity & Showcase
   ========================================== */
.brand-board-section {
    background: radial-gradient(circle at bottom, #101524 0%, #07080e 100%);
    position: relative;
}

.board-wrapper {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.board-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    width: 100%;
}

.board-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.board-container:hover .board-img {
    transform: scale(1.015);
}

.board-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card {
    text-align: center;
}

.info-card h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--secondary-blue);
}

/* ==========================================
   8. Smart Installation Services
   ========================================== */
.services-section {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-mockups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.mockup-main {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    aspect-ratio: 1.15;
}

.mockup-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mockup-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(7, 8, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 20px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-blue);
    font-size: 0.9rem;
    font-weight: 600;
}

[dir="rtl"] .mockup-label {
    left: auto;
    right: 20px;
    border-left: none;
    border-right: 3px solid var(--secondary-blue);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-check-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-check-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: rgba(0, 163, 255, 0.1);
    border: 1px solid rgba(0, 163, 255, 0.3);
    color: var(--secondary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-top: 3px;
}

.feature-check-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--text-white);
}

.feature-check-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================
   9. Testimonials Section
   ========================================== */
.testimonials-section {
    background: rgba(10, 12, 22, 0.3);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-stars {
    color: #eab308;
    margin-bottom: 16px;
    display: flex;
    gap: 4px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-white);
}

.reviewer-info h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.reviewer-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================
   10. Booking & Contact Form
   ========================================== */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(25, 14, 191, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-md);
    background: rgba(25, 14, 191, 0.15);
    border: 1px solid rgba(25, 14, 191, 0.3);
    color: var(--secondary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-detail-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
}

.contact-detail-text h4 {
    font-size: 1.1rem;
    color: var(--text-white);
}

/* Contact/Booking Form elements */
.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group-full {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-white);
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: 14px 18px;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--secondary-blue);
    background: rgba(25, 14, 191, 0.04);
    box-shadow: 0 0 15px rgba(0, 163, 255, 0.15);
}

textarea.form-input {
    resize: none;
    min-height: 120px;
}

.form-submit-btn {
    grid-column: span 2;
    width: 100%;
}

/* ==========================================
   11. Footer
   ========================================== */
footer {
    background: #040507;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 60px 0 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-desc {
    max-width: 300px;
    line-height: 1.6;
}

.footer-links-title {
    font-size: 1.05rem;
    color: var(--text-white);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a:hover {
    color: var(--secondary-blue);
    padding-inline-start: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 0 10px var(--primary-blue-glow);
}

/* ==========================================
   12. Floating animations & Media Queries
   ========================================== */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes pulse-wifi-wave {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.wifi-wave-1 { animation: pulse-wifi-wave 2s infinite 0.2s; }
.wifi-wave-2 { animation: pulse-wifi-wave 2s infinite 0.4s; }
.wifi-wave-3 { animation: pulse-wifi-wave 2s infinite 0.6s; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-grid, .hub-grid, .catalog-split, .services-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .board-info-cards {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Let's keep it simple, or toggled */
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group-full, .form-submit-btn {
        grid-column: span 1;
    }
}

/* ==========================================
   13. High-Fidelity Image Quality Enhancement
   ========================================== */
.hero-image,
.catalog-visual img,
.board-img,
.mockup-main img {
    image-rendering: -webkit-optimize-contrast; /* Sharpen and enhance contrast on webkit browsers */
    image-rendering: crisp-edges;
    filter: contrast(1.06) brightness(1.03) saturate(1.04); /* Deep rich premium contrast & bright vibrant blues */
    backface-visibility: hidden; /* prevents blur during hardware-accelerated CSS transitions */
    -webkit-backface-visibility: hidden;
}

/* Add premium reflective glass overlay sweep effect on hover */
.hero-frame::after,
.catalog-visual::after,
.mockup-main::after,
.board-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.75s ease;
    pointer-events: none;
    z-index: 2;
}

.hero-frame:hover::after,
.catalog-visual:hover::after,
.mockup-main:hover::after,
.board-container:hover::after {
    left: 150%;
}
